package com.grademaster.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 学期表
 * @TableName terms
 */
@Data
@ApiModel("学期")
@TableName(value ="terms")
public class Terms implements Serializable {
    /**
     * 学期ID
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("学期ID")
    private Long termId;

    /**
     * 学期名称
     */
    private String termName;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}
